﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="KPIS.GERP.SERVICE.WorkflowService.WorkflowService.Activity.SendRequestActivity"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:kgsm="clr-namespace:KPIS.GERP.SERVICE.Model;assembly=KPIS.GERP.SERVICE.Model"
 xmlns:local="clr-namespace:KPIS.GERP.SERVICE.WorkflowService.CodeActivity"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="list_message_warning" Type="InArgument(scg:List(kgsm:message_warning))" />
    <x:Property Name="absence_seq" Type="InArgument(x:String)" />
    <x:Property Name="update_by" Type="InArgument(x:String)" />
    <x:Property Name="record_status" Type="InArgument(x:String)" />
    <x:Property Name="result" Type="OutArgument(x:String)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>KPIS.GERP.SERVICE.WorkflowService.WorkflowService.Activity.SendRequestActivity_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
      <x:String>KPIS.GERP.SERVICE.Model</x:String>
      <x:String>System.ServiceModel.Activities</x:String>
      <x:String>KPIS.GERP.SERVICE.DAL</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>KPIS.DBM</AssemblyReference>
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
      <AssemblyReference>System.Web.DynamicData</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Web.Entity</AssemblyReference>
      <AssemblyReference>System.Web.ApplicationServices</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Channels</AssemblyReference>
      <AssemblyReference>System.Web</AssemblyReference>
      <AssemblyReference>System.Web.Extensions</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>KPIS.GERP.SERVICE.WorkflowService</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence DisplayName="WaitingForResponse" sap2010:WorkflowViewState.IdRef="Sequence_3">
    <local:UpdateStatus_HrmPsAbsence sap2010:WorkflowViewState.IdRef="UpdateStatus_HrmPsAbsence_1">
      <local:UpdateStatus_HrmPsAbsence.in_absence_seq>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">absence_seq</mca:CSharpValue>
        </InArgument>
      </local:UpdateStatus_HrmPsAbsence.in_absence_seq>
      <local:UpdateStatus_HrmPsAbsence.in_record_status>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">record_status</mca:CSharpValue>
        </InArgument>
      </local:UpdateStatus_HrmPsAbsence.in_record_status>
      <local:UpdateStatus_HrmPsAbsence.in_updated_by>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">update_by</mca:CSharpValue>
        </InArgument>
      </local:UpdateStatus_HrmPsAbsence.in_updated_by>
    </local:UpdateStatus_HrmPsAbsence>
    <If sap2010:WorkflowViewState.IdRef="If_1">
      <If.Condition>
        <InArgument x:TypeArguments="x:Boolean">
          <mca:CSharpValue x:TypeArguments="x:Boolean">record_status==Common.ProcessStatus</mca:CSharpValue>
        </InArgument>
      </If.Condition>
      <If.Then>
        <Assign sap2010:WorkflowViewState.IdRef="Assign_1">
          <Assign.To>
            <OutArgument x:TypeArguments="x:String">
              <mca:CSharpReference x:TypeArguments="x:String">result</mca:CSharpReference>
            </OutArgument>
          </Assign.To>
          <Assign.Value>
            <InArgument x:TypeArguments="x:String">
              <mca:CSharpValue x:TypeArguments="x:String">list_message_warning.Find(r =&gt; r.message_seq == 17).message_th</mca:CSharpValue>
            </InArgument>
          </Assign.Value>
        </Assign>
      </If.Then>
      <If.Else>
        <Assign sap2010:WorkflowViewState.IdRef="Assign_5">
          <Assign.To>
            <OutArgument x:TypeArguments="x:String">
              <mca:CSharpReference x:TypeArguments="x:String">result</mca:CSharpReference>
            </OutArgument>
          </Assign.To>
          <Assign.Value>
            <InArgument x:TypeArguments="x:String">
              <mca:CSharpValue x:TypeArguments="x:String">list_message_warning.Find(r =&gt; r.message_seq == 24).message_th</mca:CSharpValue>
            </InArgument>
          </Assign.Value>
        </Assign>
      </If.Else>
    </If>
    <sads:DebugSymbol.Symbol>d3VFOlxHRVJQIFByb2plY3RcS1BJUy5HRVJQLlNFUlZJQ0VcS1BJUy5HRVJQLlNFUlZJQ0UuV29ya2Zsb3dTZXJ2aWNlXFdvcmtmbG93U2VydmljZVxBY3Rpdml0eVxTZW5kUmVxdWVzdEFjdGl2aXR5LnhhbWwNPANyDgIBAT0FTScCASNOBXAKAgECSgtKUgIBMEULRVYCASpAC0BUAgEkUQtRbQIBA1UJYBICARZjCW4SAgEJXQ9djgECAR1YD1hbAgEXaw9rjgECARBmD2ZbAgEK</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="UpdateStatus_HrmPsAbsence_1" sap:VirtualizedContainerService.HintSize="509,22" />
      <sap2010:ViewStateData Id="Assign_1" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Assign_5" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="If_1" sap:VirtualizedContainerService.HintSize="509,212" />
      <sap2010:ViewStateData Id="Sequence_3" sap:VirtualizedContainerService.HintSize="531,398">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="KPIS.GERP.SERVICE.WorkflowService.WorkflowService.Activity.SendRequestActivity_1" sap:VirtualizedContainerService.HintSize="571,478" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>